package com.nbgroup.dao;

import com.nbgroup.entity.Platform;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface PlatformRepositoty extends JpaRepository<Platform,Integer>, JpaSpecificationExecutor<Platform> {
    @Query("select p from Platform p")
    List<Platform> findPlatForm();
}
